//    Copyright (C) Kherty.  All rights reserved.
using OpenLS.Core.Serialization;

namespace OpenLS.Vml
{
    public class ExternalShapeElement: ShapeElement
    {
        public ExternalShapeElement(IOfficeXmlSerializable item)
        {
            _item = item;
        }
        private readonly IOfficeXmlSerializable _item;
        public IOfficeXmlSerializable Item
        {
            get { return _item; }
        }
	
        internal override void ReadXmlCore(ReadContext context)
        {
            Item.ReadXml(context);
        }

        internal override void WriteXmlCore(WriteContext context)
        {
            Item.WriteXml(context);
        }
    }
}
